Now you can customize your game!

  • Try adding to the collision() event to make the player sprite do a victory dance.
  • Try adding a second player to block the ball.
  • Try setting the ball's y-coordinate to a random number so that the ball can appear anywhere on the stage.
  • Try setting a time limit.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)